use actix_web::{get, Responder};
use crate::business::remote::openai_remote_manager::OpenAiRemoteManager;
use crate::extends::core::response::reponse_data::R;

#[get("/admin/remote/health")]
pub async fn health() -> impl Responder {
    let resutl = OpenAiRemoteManager::health().await;
    return R::success(Some(resutl));
}

